var sendSMS = function(that, data) {
	uni.showLoading({
		title: '请稍候'
	});
	return new Promise((resolve, reject) => {
		that.$util.sendRequest(that,"common.captcha.send","POST",1,data).then(res=>{resolve(res)}).catch(err=>{reject(err)});
	});
};
var appConfig = function(that,data){
	return new Promise((resolve, reject) => {
		that.$util.sendRequest(that,"app.config","POST",0,data).then(res=>{resolve(res)}).catch(err=>{reject(err)});
	});
}; 
module.exports = {
	sendSMS: sendSMS,
	appConfig: appConfig
}
